import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;
import java.util.Scanner;


public class shiyan4_1 {
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
		String userinput = scan.nextLine();
		//String userinput = "huhasjd";
		funSha256(userinput);

		scan.close();
	}

	public static void funSha256(String strdata){
		MessageDigest mess;
		String encodeStr = "";
		try{
			mess = MessageDigest.getInstance("SHA-256");
			mess.update(strdata.getBytes(StandardCharsets.UTF_8));
			encodeStr = byte2Hex(mess.digest());
		}catch(NoSuchAlgorithmException e){
			e.printStackTrace();
		}
		System.out.println(encodeStr);
	}    
	private static String byte2Hex(byte[] bytes) {
		    StringBuilder stringBuilder = new StringBuilder();
		String temp;
		for (byte aByte : bytes) {
		    temp = Integer.toHexString(aByte & 0xFF);
		    if (temp.length() == 1) {
			//1得到一位的进行补0操作
			stringBuilder.append("0");
		    }
		    stringBuilder.append(temp);
		}
		return stringBuilder.toString();
	}
}
